package com.zxt.web.database.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * mybatis plus配置中心
 */
@Configuration
public class MybatisPlusConfig {

    /**
     * 自动填充数据
     */
    @Bean
    public ContentMetaObjectHandler mateMetaObjectHandler() {
        return new ContentMetaObjectHandler();
    }

}
